<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="http://think32.e0yu.com/Public/js/jquery-1.8.3.min.js"></script>
</head>
<body>
<a href="#one?tn=98012088_9_dg&ch=5">one</a>
<a href="#/my/">two</a>
</body>
<script type="text/javascript">
window.addEventListener('hashchange',function(e){
	//console.log(e);
	console.log(e.newURL); // 拿到当前的URL地址
	//console.log(window.location.href);// dom 拿到当前的URL地址
	console.log(window.location.hash);// 拿到hash值
});
</script>
</html>